/**
 *
 * @author Craig Rowe, Richard Garcia, Andrew Blowe, Ryan Huffman
 * GUI scientific calculator
 */
import java.awt.*;  //imports the AWT library
import java.awt.event.*;    //imports the events section of AWT library
class calcFrame extends Frame //extends the frame class to build the GUI window of the calc
{
    calcFrame( String close) //sets up ability to close the window
    {            
        super(close);   // call to superclass
           
        addWindowListener(new WindowAdapter()  // to close the calculator(Frame)
        {
            public void windowClosing (WindowEvent windowEvent) //tells the window to close when the X in the corner is used to close the program
            {
                System.exit(0);
            }
        });
    }
}
    
